package com.gome.axwl.aoc.entity.po;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class EmptyContractPo {
    /**
     * 主键Id
     */
    private Integer id;

    /**
     * 申请单号id
     */
    private Integer applyInfoId;
    /***
     *申请提交后 模板与合同生成待签署合同的编码
     */
    private String emptyContractNo;
    /***
     * 申请提交后 模板与合同生成待签署合同的json
     */
    private String emptyContractJson;

    /**
     * 空白合同模板状态 1-待服务商签署 2-待财务审核 3-已生成合同
     */
    private Integer status;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getApplyInfoId() {
        return applyInfoId;
    }

    public void setApplyInfoId(Integer applyInfoId) {
        this.applyInfoId = applyInfoId;
    }

    public String getEmptyContractNo() {
        return emptyContractNo;
    }

    public void setEmptyContractNo(String emptyContractNo) {
        this.emptyContractNo = emptyContractNo;
    }

    public String getEmptyContractJson() {
        return emptyContractJson;
    }

    public void setEmptyContractJson(String emptyContractJson) {
        this.emptyContractJson = emptyContractJson;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("EmptyContractPo{");
        sb.append("id=").append(id);
        sb.append(", applyInfoId=").append(applyInfoId);
        sb.append(", emptyContractNo='").append(emptyContractNo).append('\'');
        sb.append(", emptyContractJson='").append(emptyContractJson).append('\'');
        sb.append(", status=").append(status);
        sb.append(", createTime=").append(createTime);
        sb.append('}');
        return sb.toString();
    }
}